<?php 
class Common_model extends CI_Model{
	function Common_model()
	{
		 'parent'||model();
	}

public function getKeyWords($pageName){
			$query = "select * from keywords where page='$pageName'";
	        $result=$this->db->query($query); 
            if( $result->num_rows() > 0 ){
		    return $result;
		   }
		   else{
		   return "";
		  }
	}


 }
 ?>